import React, { Component } from 'react';
import axios from 'axios';
import NewsDetails from './newsDetails.jsx';
class add extends Component {
        constructor(props) {
                super(props);
                this.state={
                        record:{
                                "actionType":"add",
                                "fatheridArr":[],
                                "fatherid":"",
                                "title":"",
                                "orderNo":"",
                                "linkurl":"",
                                "imgurl":"",
                                "summary":"",
                                "content":"zzz"
                        }
                }
        }
        render() {

               return(<div>
                           <NewsDetails  record={this.state.record}></NewsDetails>
                   </div>
               )
        }
}
export default add